package cn.juque.workflow.api.enums;

/**
 * @author juque
 * @version 1.0.0
 * <ul>
 *     <li>VariableEnum</li>
 * </ul>
 * @date 2023-01-30 09:35:53
 **/
public enum VariableEnum {

    /**
     * enum
     */
    USER_ID("userId", "${userId}", "用户ID"),
    CANDIDATE_USER_ID("candidateUserId", "${candidateUserId}", "候选人ID列表"),
    TASK_STATUS("taskStatus", "${taskStatus}", "任务状态"),
    INSTANCE_NAME("instanceName", "${instanceName}", "实例名称"),

    TITLE("title", "${title}", "流程标题"),

    INITIATOR("initiator", "${initiator}", "流程发起人"),
    ;

    private final String value;

    private final String expression;

    private final String label;

    VariableEnum(String value, String expression, String label) {
        this.value = value;
        this.expression = expression;
        this.label = label;
    }

    public String getValue() {
        return value;
    }
}
